<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>轮播图</title>
</head>
<body>
    <div>
        <h4>只有轮播效果</h4>
        <img src="./img/1.jpg" alt="" class="box1">
    </div>
    <div>
        <h4>有轮播效果，并且能选择到某张图片</h4>
        <span class="jianleft" onclick="lun('previous')">&lt;</span>
        <span class="jianright" onclick="lun('next')">&gt;</span>
        <img src="./img/1.jpg" alt="" class="box2">
        
    </div>
    <script src="lunbo.js"></script>
</body>
</html>